<?php function _tag_ask_tag_credit_list($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><table cellpadding="0" cellspacing="0" class="table_list">
<tr>
<th>用户名</th>
<th>积分</th>
<th>角色</th>
<th>最后登陆时间</th>
<th>登陆次数</th>
<th>回答数</th>
<th>采纳数</th>
</tr>
<?php if(is_array($data)) foreach($data AS $n => $r) { ?>
<tr>
<td><a href="<?php echo $MODULE['member']['url'];?>view.php?userid=<?php echo $r['userid'];?>"><?php echo $r['username'];?></a></td>
<td><?php echo $r['point'];?></td>
<td><?php echo actor($r[actortype],$r[point]);?></td>
<td><?php echo date('Y-m-d H:i',$r[lastlogintime]);?></td>
<td><?php echo $r['logintimes'];?></td>
<td><?php echo $r['answercount'];?></td>
<td><?php echo $r['acceptcount'];?></td>
</tr>
<?php } ?>
</table> 
<?php if($pages) { ?><p id="pages"><?php echo $pages;?></p><?php } ?><?php } ?>